<style type="text/css">
    .modal-content{
        width: 720px;

    }
</style>
<script type="text/ng-template" id="pageUpdatePop.html">
    <section class="content">
        <div class="row">
            <div class="col-xs-12">
                <div class="box">
                    <div ng-if="type!='pageElement'">
                         <m-form form-save="buttonsClick('save')" form-back="buttonsClick('cancel')" is-save-show="{{info.type !='view'}}"  is-back-show="{{info.type !='view'}}">
                            <m-form-lable>
                                  <m-form-line label="标题:">
                                    <winit-text textdata="info.title" text-required="true"></winit-text>
                                </m-form-line>
                                <m-form-line label="文件名:">
                                    <winit-text ng-if="info.type=='add'" textdata="info.fileName" text-required="true"></winit-text>
                                    <span ng-if="info.type!='add'">{{info.fileName}}</span>
                                </m-form-line>
                                <m-form-line label="路径:">
                                    <span>{{info.menuPath}}</span>
                                </m-form-line>
                            </m-form-lable>
                        </m-form>
                    </div>
                    <div ng-if="type=='pageElement'">
                         <m-form form-save="buttonsClick('save')" form-back="buttonsClick('cancel')" is-save-show="{{info.type !='view'}}"  is-back-show="{{info.type !='view'}}">
                            <m-form-lable>
                                <div style="line-height: 40px; margin-left: 18px;font-size: 16px;">上级元素类型：<b style="color: red;">{{componentType}}</b></div>
                                <m-form-line label="元素类型:">
                                    <!-- <winit-text textdata="info.title" text-required="true"></winit-text> -->
                                    <select ng-model="info.componentId">
                                        <option value="{{e.id}}" ng-repeat="e in ElementByElement">{{e.import}}</option>
                                    </select>
                                </m-form-line>
                               <!--  <m-form-line label="标题:">
                                    <winit-text textdata="info.fileName" text-required="true"></winit-text>
                                </m-form-line> -->
                            </m-form-lable>
                        </m-form>
                    </div>
                </div>
            </div>
        </div>
    </section>
</script>
